projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9cbd3ac
)
Notebook: Don't notify 2x from set_tab_label_text
author
Daniel Boles
<dboles.src@gmail.com>
Fri, 12 Oct 2018 22:40:16 +0000
(23:40 +0100)
committer
Daniel Boles
<dboles.src@gmail.com>
Fri, 12 Oct 2018 22:40:16 +0000
(23:40 +0100)
It calls set_tab_label(), which already does that.
gtk/gtknotebook.c
patch
|
blob
|
history
diff --git
a/gtk/gtknotebook.c
b/gtk/gtknotebook.c
index 6ea21028b1fa30bc909a1f197169a50d167ed80f..0649844562b2ae67e42fbd749a49eeace2949731 100644
(file)
--- a/
gtk/gtknotebook.c
+++ b/
gtk/gtknotebook.c
@@
-6540,7
+6540,6
@@
gtk_notebook_set_tab_label_text (GtkNotebook *notebook,
if (tab_text)
tab_label = gtk_label_new (tab_text);
gtk_notebook_set_tab_label (notebook, child, tab_label);
- child_notify (notebook, child, "tab-label");
}
/**